<?php
/**
 * Created by PhpStorm.
 * User: eugene
 * Date: 2018/4/4
 * Time: 10:22
 */

namespace App\Traits;

/**
 * 道具定义
 * Class StageService
 * @package App\Services
 */
trait Stage
{
    
    //每小时停车收益增加10%
    public function stage1()
    {
        $this->CarCredit*=1.1;
    }
    //有该道具时不可被贴条
    public function stage2()
    {
    
    }
    //车辆被贴条时，收益不会被车位主人分走
    public function stage3()
    {
        $this->punished_persent=1;
    }
    //车辆每次停车时长可以增加2小时
    public function stage4()
    {
        $this->max_stop_time+=120;
    }
}